-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here

-- LSP Saga 快捷键
vim.keymap.set("n", "gh", "<cmd>Lspsaga lsp_finder<CR>", { desc = "查找引用" })
vim.keymap.set("n", "gp", "<cmd>Lspsaga peek_definition<CR>", { desc = "预览定义" })
vim.keymap.set("n", "gr", "<cmd>Lspsaga rename<CR>", { desc = "重命名符号" })
vim.keymap.set("n", "<leader>ca", "<cmd>Lspsaga code_action<CR>", { desc = "代码操作" })
vim.keymap.set("n", "<leader>cd", "<cmd>Lspsaga show_line_diagnostics<CR>", { desc = "行诊断" })
